package com.dhcc.core.modules.system.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.dhcc.core.modules.system.entity.GroupMember;
import com.dhcc.core.modules.system.entity.User;


/**
 * 群组成员
 * 
 * @ClassName: GroupMemberMapper
 * @Description: TODO
 * @author lifan
 * 
 */
public interface GroupMemberMapper  extends BaseMapper<GroupMember> {
	
	//获取群组成员列表
    List<GroupMember> list(@Param("page") Page<GroupMember> page,@Param("map")Map<String, Object> map);
    
    //判断群组中是否有该用户
    GroupMember selectGroupMember(GroupMember groupMember);

	User selectUserById(@Param("userId") Long userId);

    
}
